{% set current_menu = menu(app.request.server.get('DOCUMENT_URI')) %}
<ul id=menu-main-navigation-1 class=sf-menu>
    <li class="menu-item menu-item-home akea-normal-menu {% if current_menu == "" %}current-menu-item{% endif %}">
        <a href="/" class=sf-with-ul-pre>首页</a>
    </li>

    {% for menu in menus %}
        <li class="menu-item akea-normal-menu {% if current_menu == menu.alias %}current-menu-item{% endif %}">
            <a href="{% if menu.url is not empty %}{{ menu.url }}{% else %}{{ path('navigation_page', {menu: menu.alias}) }}{% endif %}" {% if menu.url is not empty %}target="_blank" {% endif %} class=sf-with-ul-pre>{{ menu.title }}</a>
        </li>
    {% endfor %}

    <li class="menu-item akea-normal-menu {% if current_menu == "about_me" %}current-menu-item{% endif %}">
        <a href="/about_me">关于我</a>
    </li>
</ul>
